package com.link.base.base.appinfo.service;

import com.link.base.base.appinfo.dao.mybatis.mapper.AppLoginMapper;
import com.link.base.base.appinfo.model.AppLogin;
import com.link.core.basic.dao.mapper.BasicMapper;
import com.link.core.basic.service.BasicServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 登录日志
 *
 * @author ouyangzhenqiang
 * @date 2018/10/16
 */
@Service
public class AppLoginServiceImpl extends BasicServiceImpl<AppLogin> implements AppLoginService {

    @Resource
    private AppLoginMapper appLoginMapper;

    @Override
    public BasicMapper<AppLogin> getBasicMapper() throws Exception {
        return appLoginMapper;
    }

    @Override
    public void create(AppLogin record) throws Exception {
        appLoginMapper.createLoginLog(record);
    }

}
